<?php
    /*
     * Product Configurations
     */
    /*
     * The MAGIC switch.
     * Please change it to false if you are integrating with the product.
     */
        if(!defined("STANDALONE_WF")) {
            //define("STANDALONE_WF" , true); // standalone widget framework
            define("STANDALONE_WF" , false); // integrate with product
        }

    /*
     * Product related configurations
     * 1. You can specify your global configurations/variables here.
    * 2. You can overwrite any variable that has been set already in $wfconf_WFHome/inc/config.php     
     */
    if( ! STANDALONE_WF ) {
        $wfconf_sitename = "The Widget Page of Widget Framework";
        // directory definitions
        $wfconf_dir_tmpwidget = "/var/tmp";
    }
    /*
    Below is diagnostic log configurations for server side
    $GLOBALS['wfconf_debug'] = true; //wfconf_debug_level = DEBUG
    $GLOBALS['wfconf_debug'] = false; //wfconf_debug_level = INFO
    $GLOBALS['wfconf_debug'] = 'null'; //turn off diagnostic.log
    */
    //$GLOBALS['wfconf_debug'] = true;
    
    /*
    Below is product team configure widget pool update(update widget) max execution time
    */
    $GLOBALS['wp_max_execution_time'] = 1800; //1800 seconds = 30 minutes
    
    $GLOBALS['wfconf_debug_type'] = "log";
    $GLOBALS['wfconf_debug_dir'] = dirname(__FILE__).'/../../../../repository/log/';

	/*
	Below is diagnostic log configurations
	$GLOBALS['wfconf_client_debug_level'] = "OFF";  //turn off
	*/
    $wfconf_js_compact = true;	
	$wfconf_widget_compact = false;	
	$wfconf_product_logon_page = "/WebApp/Login.aspx";
	$GLOBALS['wfconf_client_debug_level'] = "OFF";
    $GLOBALS["wfconf_use_jquery"] = false;
    $GLOBALS['wfconf_client_debug_type'] = "log";
    $GLOBALS['wfconf_client_debug_dir'] = dirname(__FILE__).'/../../../../repository/log/';

    $wfconf_default_user_lang = "en_US";
    if(!defined('WF_COOKIE_PATH')){
        define("WF_COOKIE_PATH" , '/');
    }
    /*
	Below is product team configurations which don't want update by AU
	*/
    require(dirname(__FILE__).'/../../product/config.php');